var o = require("../../res/www.a9a.cn.js"),
  n = getApp();
Page({
  data: {},
  onLoad: function (t) {
    var a = this;
    this.setData({
      uid: t.uid,
      color: n._ZEAI.color,
      rgbcolor: o.c16_rgb(n._ZEAI.color),
    });
    var e = wx.getStorageSync("COOK_U");
    wx.request({
      url: n.WWW + "/api/wxxcx/u.php",
      data: { submitok: "data_more", uid: t.uid, openid: e.openid },
      success: function (n) {
        if (1 == (n = o.jsoneval(n.data)).flag) {
          var t = n.nickname;
          a.setData({ U: n.U });
        } else
          wx.showModal({
            content: n.msg,
            confirmColor: a.data.color,
            confirmText: "朕知道了",
            showCancel: !1,
            success: function (o) {
              wx.navigateBack();
            },
          });
        wx.setNavigationBarTitle({ title: t + "的详细资料" });
      },
    });
  },
  copyuidFn: function (n) {
    var t = n.currentTarget.dataset.uid;
    o.copy_text({ data: t, msg: "ID编号复制成功" });
  },
  onReady: function () {},
  onShow: function () {},
  onHide: function () {},
  onUnload: function () {},
  onPullDownRefresh: function () {},
  onReachBottom: function () {},
  onShareAppMessage: function () {},
});
